package Wix::Tag::CustomAction;

use parent qw/Wix::Tag/;

sub new() {
	my ($class, $args) = @_;
	
	my $self = Wix::Tag->new({TAG => 'CustomAction'});
	
	$self->addAttr('Id', $args->{ID});
	$self->addAttr('Directory', $args->{DIRECTORY});
	$self->addAttr('ExeCommand', $args->{EXECOMMAND});
	$self->addAttr('Impersonate', $args->{IMPERSONATE});
	$self->addAttr('Execute', $args->{EXECUTE});
	$self->addAttr('Return', $args->{RETURN});
	$self->addAttr('FileKey', $args->{FILEKEY});
	
	return bless($self, $class);
}

1;